package com.culture.config.dao.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class Menu implements Serializable {
	/**
	 * serial Version UID
	 */
	private static final long serialVersionUID = -124792989199169802L;
	Long id;
	String menuName;	
	String menuPath;
	String menuIco;
	Long parentId;
	Integer sortIndex;
	Integer isLeaf;
	Integer deleted;
	String createBy;
	Date createTime;
	String updateBy;
	Date updateTime;

	public Menu(Long id){
		this.id = id;
	}

	public Menu(Long id, String menuName) {
		this.id = id;
		this.menuName = menuName;
	}
}
